package com.example.administrator.mvp.model.user;

import com.example.administrator.mvp.base.i.IBaseModel;
import com.example.administrator.mvp.model.entity.UserEntity;

public interface UserSource extends IBaseModel {
    /**
     * 登录
     *
     * @param userName
     * @param passWord
     * @return
     */
    Boolean login(String userName, String passWord);

    /**
     * 获取用户信息
     *
     * @param token
     * @return
     */
    UserEntity getUserInfo(String token);
}